package com.dtda.edu.miaosha;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @author 袁强 
 * @version 2019年1月28日 上午10:48:59
 * 类说明  前台服务启动类
 */
@SpringBootApplication
@MapperScan("com.dtda.edu.miaosha.dao")
public class GradAppRunF extends SpringBootServletInitializer {

	public static void main(String[] args) {
		SpringApplication.run( GradAppRunF.class, args );
	}

	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
		return builder.sources(this.getClass());
	}
}

